package com.kjc.demo.rcservice.app;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import com.kjc.demo.rcservice.dto.req.FileStoreReqDTO;
import com.kjc.demo.rcservice.dto.res.FileStoreResDTO;
import com.kjc.demo.rcservice.service.FileStoreService;
import com.sdhs.paas.sdk.core.PaasBaseRequest;
import com.sdhs.paas.sdk.core.PaasBaseResponse;
import com.sdhs.paas.sdk.core.RefreshableRestController;

/**
 * @author FileStore
 * @version 1.0
 * @Title:  代码生成接口，用于接受前端传输过来的数据
 * @author kangjichang
 * @date 2018-12-03
 */
 
@RefreshableRestController
@RequestMapping(value = "/fileStore")
public class FileStoreController {

    @Autowired
    private FileStoreService fileStoreService;
    
    /**
     * 分页查询接口
     * */
    @PostMapping("/getFileStorePageList")
	public PaasBaseResponse<FileStoreResDTO> getFileStorePageList(@RequestBody PaasBaseRequest<FileStoreReqDTO> fileStoreReqDTO) {
		return null;
	}
	
	/**
	 * 保存接口
	 * */
	@PostMapping("/saveFileStore")
	public PaasBaseResponse<FileStoreResDTO> saveFileStore(@RequestBody PaasBaseRequest<FileStoreReqDTO> fileStoreReqDTO) {
		return null;
	}
	
	/**
	 * 修改接口
	 * */
	@PostMapping("/updateFileStore")
	public PaasBaseResponse<FileStoreResDTO> updateFileStore(@RequestBody PaasBaseRequest<FileStoreReqDTO> fileStoreReqDTO) {
		return null;
	}
	
	/**
	 * 获取详情接口
	 * */
	@PostMapping("/getFileStoreDetail")
	public PaasBaseResponse<FileStoreResDTO> getFileStoreDetail(@RequestBody PaasBaseRequest<FileStoreReqDTO> fileStoreReqDTO) {
		return null;
	}
	
	/**
	 * 删除接口
	 * */
	@PostMapping("/deleteFileStore")
	public PaasBaseResponse<FileStoreResDTO> deleteFileStore(@RequestBody PaasBaseRequest<FileStoreReqDTO> fileStoreReqDTO) {
		return null;
	}
}
